package server.demo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import server.demo.model.Role;
import server.demo.model.SysUser;

import java.util.List;

@Mapper
public interface UserMapper {

    SysUser getUserByName(@Param("name") String name);

    List<Role> selectRoleId(@Param("id") Integer id);
}
